<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/content.jsp"%>
<script language="javascript" src="${pageContext.request.contextPath}/common/js/jquery/jquery.js" type=""></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/admin/dict/dictType.js"></script>
</head>
<body class="mainBody" onload="">
<form action="" method="post">
<input type="hidden" name="oprflag" id="oprflag" value="" >
<input type="hidden" name="valMgrflag" id="valMgrflag" value="0" ><!-- 0:刷新,1，值管理 -->
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="formTable">
    <tr>
        <td class="formTableL">&#160;</td>
        <td class="formTableC">
            <div class="ecSide"  style="width:100%;" style="overflow-y:auto; height:100%">
            <table border="0" cellspacing="0" cellpadding="0" class="tableRegion" width="100%">
                <tr>
                    <td colspan="3">
                        <button id="bTypeAdd" name="bTypeAdd" onclick="typeAdd()">增加</button>
                        <button id="bTypeUpd" name="bTypeUpd" onclick="typeUpd()" disabled="">修改</button>
                        <button id="bTypeDel" name="bTypeDel" onclick="typeDel()" disabled="">删除</button>
                    </td>
                </tr>
                <tr>
                    <td class="tableHeader" width="10%">&nbsp;</td>
                    <td class="tableHeader" width="30%">类型ID</td>
                    <td class="tableHeader" width="60%">类型名</td>
                </tr>
        <c:if test="${!empty types}">
            <c:forEach var="item" items="${types}" varStatus="sta">
                <tr onclick="selectRowClk(this);selectTypeRow(this,'${item.typeKind}')" <c:if test="${sta.index%2 == 1}">class="even"</c:if> <c:if test="${sta.index%2 != 1}">class="odd"</c:if>
                    onmouseover="ECSideUtil.lightRow(this,'ec');" onMouseOut="ECSideUtil.unlightRow(this,'ec');" style="cursor:hand;">
                    <td title="${item.typeKind}"><img src="${ctxpath}/common/images/icon/list${item.typeKind}.gif" alt=""></td>
                    <td>${item.typeId}</td>
                    <td title="${item.memo}">${item.typeName}</td>
                </tr>
            </c:forEach>
        </c:if>
            </table>
            </div>
        </td>
        <td class="formTableR">&#160;</td>
    </tr>
    <tr>
        <td class="formTableLB"></td>
        <td class="formTableB"></td>
        <td class="formTableRB"></td>
    </tr>
</table>
</form>
</body>
</html>
